package com.woniuxy.store.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import result.Result;

@FeignClient(contextId = "storePayManageClient",name="store",path="/pay")
public interface StorePayManageClient {


    @GetMapping("/contract/{contractNum}")
    public void payContract(@PathVariable String contractNum) throws Exception;

    @PostMapping("/callBack")
    public Result payCallback() throws Exception;
}
